package com.redoor.app.stake.basicdata.dao;

import com.redoor.app.stake.basicdata.model.BaseVendorInfo;
import com.redoor.app.stake.basicdata.model.controllerModel.BaseVendorInfoActionBean;
import com.redoor.app.stake.basicdata.model.controllerModel.BaseVendorInfoCriteria;
import com.redoornetwork.framework.mybatis.mapper.Mapper;
import com.yotouch.app.stake.model.Vendor;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BaseVendorInfoMapper extends Mapper<BaseVendorInfo> {

    public List<BaseVendorInfo> queryVendorByParams(BaseVendorInfoCriteria criteria);
    /**
     * 厂商列表查询
     * @Author zhangYiHang
     * @Date 2018/3/21 10:35
     */
    List<BaseVendorInfo> qryVendorInfo(BaseVendorInfoActionBean baseVendorInfoActionBean);
    /**
     * 厂商列表查询总数
     * @Author zhangYiHang
     * @Date 2018/3/21 10:35
     */
    Long qryVendorInfoTotal(BaseVendorInfoActionBean baseVendorInfoActionBean);
    /**
     * HSF接口调用(前置),查询厂商信息
     * @Author zhangYiHang
     * @Date 2018/3/27 11:31
     * @Param
     */
    List<Vendor> qryVendorInfoToHSF();
    /**
     * HSF接口调用(前置),根据厂商uuid查询厂商信息
     * @Author zhangYiHang
     * @Date 2018/3/27 15:09
     * @Param
     */
    Vendor qryVendorInfoByVendorUuidToHSF(@Param("uuid") String vendorUuid);
}